package com.example.dbbackupupload.conifg;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @Author Wlos
 * @Date 2025/3/14 10:49
 */
@Configuration
@ConfigurationProperties(prefix = "my-config")
@Data
public class MyConfig {
    private String groupName;
    private String host;
    private String port;
    private String userName;
    private String password;
    private List<String> tables;

    private String mysqldumpPath;
    private String backPath;

    private String accessKey;
    private String secretKey;
    private String backServer;
}
